<%@ page language="java" contentType="text/html; charset=EUC-KR"
    pageEncoding="EUC-KR"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=EUC-KR">
<title>Insert title here</title>

	<script type="text/javascript">
		var message = document.frmRegist.message.value;
		var command = document.frmRegist.command.value;
		var targeturl = document.frmRegist.targeturl.value;

		if(message != null && message != ""){
			alert(message);
		}
		if(command != null && command != ""){
			if(command == "closeWindow"){
				self.close();
			}
		}
		if(targeturl != null && targeturl != ""){
			document.frmRegist.action = targeturl;
			document.frmRegist.submit();
		}
	</script>

</head>
<body>
<form name="frmRegist" action="">
	<input name="message" type="hidden" value="${message}"/>
	<input name="command" type="hidden" value="${command}"/>
	<input name="targeturl" type="hidden" value="${targeturl}"/>
</form>
</body>
</html>